/**
 * 
 */
package com.pcbly.web.business.chart;

import java.util.List;

import com.pcbly.web.bean.chart.ChartStyleCoordinateBean;
import com.pcbly.web.business.BaseServiceImp;
import com.pcbly.web.persistence.chart.ChartStyleCoordinateDao;

/**
 * @author Administrator
 * @date 2009-7-13
 * @copyright lightsoft
 */
public class ChartStyleCoordinateServiceImp extends
		BaseServiceImp<ChartStyleCoordinateBean> implements
		ChartStyleCoordinateService {
	public ChartStyleCoordinateServiceImp(){
		super();
	}
	
	protected ChartStyleCoordinateDao chartStyleCoordinateDao;
	
	
	public void setChartStyleCoordinateDao(
			ChartStyleCoordinateDao chartStyleCoordinateDao) {
		this.chartStyleCoordinateDao = chartStyleCoordinateDao;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

	@Override
	public int deleteChartStyleCoordinateBean(String id) throws Exception {
		// TODO Auto-generated method stub
		return chartStyleCoordinateDao.deleteChartStyleCoordinateBean(id);
	}

	@Override
	public int insertChartStyleCoordinateBean(ChartStyleCoordinateBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleCoordinateDao.insertChartStyleCoordinateBean(bean);
	}

	@Override
	public ChartStyleCoordinateBean queryChartStyleCoordinateBeanById(String id)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleCoordinateDao.queryChartStyleCoordinateBeanById(id);
	}

	@Override
	public List<ChartStyleCoordinateBean> queryList() throws Exception {
		// TODO Auto-generated method stub
		return chartStyleCoordinateDao.queryList();
	}

	@Override
	public int updateChartStyleCoordinateBean(ChartStyleCoordinateBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleCoordinateDao.updateChartStyleCoordinateBean(bean);
	}


}
